Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

DDirect3D.cpp File Reference

class for Direct3D8 driver More...

#include "DDirect3D.hpp"
#include "deBitmap.hpp"
#include "deMath.hpp"

Include dependency graph for DDirect3D.cpp:

Include dependency graph

Compounds

struct  CardVCache

Defines

#define D3D_DEV_TYPE   (D3DDEVTYPE_HAL)
#define VERTEXSHADERID   0x01005356
#define TEXTURESTRUCTID   0x01005354
#define ReportErrorHR(hr)
#define HR2StringCase(Case_)
#define Format2StringCase(Case_)

Typedefs

typedef IDirect3D8 *(WINAPI * fDirect3DCreate8 )(UINT SDKVersion)

Functions

deBoolean IsDestiny3DDriver ()
IdeDriverGetDriverInstance (long ID)
const deDriverInfoGetDriverInfo (long StructSize)
deBoolean IsPow2 (int num)
char *__cdecl HR2String (HRESULT hr, char *szHR)
char *__cdecl Format2String (IdeDriver::BPP format, char *szFmt)

Variables

deDriverInfo DriverInfo
deBoolean AdapterInfoLogged = deFALSE
CardVCache s_CardListing []

Detailed Description

class for Direct3D8 driver

Author:
Lightning
This file is the intellectual property of Novus Delta, LLC.. Usage of the contents of this file is subject to the Destiny3D Member License which can be found at http://www.destiny3d.com. Any other usage is prohibited.

This file is distributed "AS IS" without warranty of any kind. Novus Delta, LLC. does not guarantee the fitness of the contents of this file for any particular purpose.

Copyright (C) 2001-2003 Novus Delta, LLC. All Rights Reserved.


Change History

Date:
Aug 2001
Author:
Lightning
Remarks:
Creation

Define Documentation

#define D3D_DEV_TYPE   (D3DDEVTYPE_HAL)
 

#define Format2StringCase Case_   
 

Value:

case Case_:\
            strcpy(szFmt, #Case_); break

#define HR2StringCase Case_   
 

Value:

case Case_:\
        strcpy(szHR, #Case_); break

#define ReportErrorHR hr   
 

Value:

{\
    char buffer[256];\
    LogInfo("Error value: 0x%x (%s)\n", hr, HR2String(hr, buffer));\
    DEBUGMSG1("Error return value: %s", buffer);\
}

#define TEXTURESTRUCTID   0x01005354
 

#define VERTEXSHADERID   0x01005356
 


Typedef Documentation

typedef IDirect3D8*(WINAPI * fDirect3DCreate8)(UINT SDKVersion)
 


Function Documentation

char* __cdecl Format2String IdeDriver::BPP    format,
char *    szFmt
 

const deDriverInfo* GetDriverInfo long    StructSize
 

IdeDriver* GetDriverInstance long    ID
 

char* __cdecl HR2String HRESULT    hr,
char *    szHR
 

deBoolean IsDestiny3DDriver  
 

deBoolean IsPow2 int    num [inline, static]
 


Variable Documentation

deBoolean AdapterInfoLogged = deFALSE
 

deDriverInfo DriverInfo
 

CardVCache s_CardListing[] [static]
 

Initial value:

 
{
    {"RADEON 8500", 12},
    {"RADEON 9700", 12},
    {"GEFORCE 256", 12},
    {"GEFORCE2", 12},
    {"GEFORCE3", 16},
    {"GEFORCE4", 18},
}


Generated on Mon Sep 12 19:59:36 2005 for Destiny3D by doxygen1.3-rc3